function setRem(){
    document.documentElement.style.fontSize=document.documentElement.clientWidth / 10.8 +'px';

}
setRem()
window.onresize=setRem;